home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMrrrrmmmmFFFFeeeettttcccchhhhWWWWiiiiddddggggeeeetttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmFFFFeeeettttcccchhhhWWWWiiiiddddggggeeeetttt((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _M_r_m_F_e_t_c_h_W_i_d_g_e_t - Fetches and creates any indexed (UIL named)
- application widgets and its children
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Mrm/MrmPublic.h>
-
- Cardinal MrmFetchWidget(hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd,,,, iiiinnnnddddeeeexxxx,,,, ppppaaaarrrreeeennnntttt____wwwwiiiiddddggggeeeetttt,,,, wwwwiiiiddddggggeeeetttt,,,, ccccllllaaaassssssss)
- _M_r_m_H_i_e_r_a_r_c_h_yhhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd;
- _S_t_r_i_n_g iiiinnnnddddeeeexxxx;
- _W_i_d_g_e_t ppppaaaarrrreeeennnntttt____wwwwiiiiddddggggeeeetttt;
- _W_i_d_g_e_t *wwwwiiiiddddggggeeeetttt;
- _M_r_m_T_y_p_e *ccccllllaaaassssssss;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _M_r_m_F_e_t_c_h_W_i_d_g_e_t function fetches and creates an indexed
- application widget and its children. The indexed
- application widget is any widget that is named in UIL. In
- fetch operations, the fetched widget's subtree is also
- fetched and created. This widget must not appear as the
- child of a widget within its own subtree. _M_r_m_F_e_t_c_h_W_i_d_g_e_t
- does not execute _X_t_M_a_n_a_g_e_C_h_i_l_d for the newly created widget.
-
- hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd
- Specifies the ID of the _u_i_d hierarchy that contains the
- interface definition. The hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd was returned in
- a previous call to _M_r_m_O_p_e_n_H_i_e_r_a_r_c_h_y_P_e_r_D_i_s_p_l_a_y.
-
- iiiinnnnddddeeeexxxx
- Specifies the UIL name of the widget to fetch.
-
- ppppaaaarrrreeeennnntttt____wwwwiiiiddddggggeeeetttt
- Specifies the parent widget ID.
-
- wwwwiiiiddddggggeeeetttt
- Returns the widget ID of the created widget.
-
- ccccllllaaaassssssss
- Returns the class code identifying MRM's widget class.
- The widget class code for the main window widget, for
- example, is _M_R_M_w_c_M_a_i_n_W_i_n_d_o_w. Literals identifying MRM
- widget class codes are defined in _M_r_m._h.
-
- An application can fetch any named widget in the _u_i_d
- hierarchy using _M_r_m_F_e_t_c_h_W_i_d_g_e_t. _M_r_m_F_e_t_c_h_W_i_d_g_e_t can be
- called at any time to fetch a widget that was not fetched at
- application startup. _M_r_m_F_e_t_c_h_W_i_d_g_e_t can be used to defer
- fetching pop-up widgets until they are first referenced
- (presumably in a callback), and then used to fetch them
- once.
-
- _M_r_m_F_e_t_c_h_W_i_d_g_e_t can also create multiple instances of a
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- MMMMrrrrmmmmFFFFeeeettttcccchhhhWWWWiiiiddddggggeeeetttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmFFFFeeeettttcccchhhhWWWWiiiiddddggggeeeetttt((((3333XXXX))))
-
-
-
- widget (and its subtree). In this case, the _u_i_d definition
- functions as a template; a widget definition can be fetched
- any number of times. An application can use this to make
- multiple instances of a widget, for example, in a dialog box
- box or menu.
-
- The index (UIL name) that identifies the widget must be
- known to the application.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- This function returns one of these status return constants:
-
- _M_r_m_S_U_C_C_E_S_S
- The function executed successfully.
-
- _M_r_m_B_A_D__H_I_E_R_A_R_C_H_Y
- The hierarchy ID was invalid.
-
- _M_r_m_N_O_T__F_O_U_N_D
- The widget was not found in UID hierarchy.
-
- _M_r_m_F_A_I_L_U_R_E
- The function failed.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _M_r_m_O_p_e_n_H_i_e_r_a_r_c_h_y_P_e_r_D_i_s_p_l_a_y(_3_X), _M_r_m_F_e_t_c_h_W_i_d_g_e_t_O_v_e_r_r_i_d_e(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-